#模型下载
# from modelscope import snapshot_download
# model_dir = snapshot_download('OrionStarAI/Orion-14B-Chat',cache_dir='/data/model')


### 模型下载地址 Orion-14B-Chat
### /data/model/OrionStarAI/Orion-14B-Chat



# 下载单个文件 Orion-14B-Chat.gguf

# from modelscope.hub.file_download import model_file_download

# model_dir = model_file_download(model_id='OrionStarAI/Orion-14B-Chat',file_path='Orion-14B-Chat.gguf',cache_dir='/data/model')


from modelscope.hub.file_download import model_file_download

model_dir = model_file_download(model_id='OrionStarAI/Orion-14B-Chat',file_path='pytorch_model-00001-of-00003.bin',file_path='pytorch_model-00002-of-00003.bin',file_path='pytorch_model-00003-of-00003.bin',cache_dir='/data/model')